<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>我的帖子 - {:config('web.WEB_AUT')}</title>
<meta name="keywords" content="我的帖子">
<meta name="description" content="我的帖子">
{include file="forum/header"}
<div class="main fly-user-main layui-clear">
  <ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item">
      {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/home/{$Think.session.userid}.html">{else/}<a href="__INDEX__/home/{$Think.session.userid}.html">{/if}
        <i class="layui-icon">&#xe609;</i>
        我的主页
      </a>
    </li>
    <li class="layui-nav-item layui-this">
      {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/user/index.html">{else/}<a href="__INDEX__/user/index.html">{/if}
        <i class="layui-icon">&#xe612;</i>
        我的帖子
      </a>
    </li>
  <li class="layui-nav-item">
      {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/user/comment.html">{else/}<a href="__INDEX__/user/comment.html">{/if}
        <i class="layui-icon">&#xe611;</i>
        我的回复
      </a>
    </li>
    <li class="layui-nav-item">
      {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/user/set.html">{else/}<a href="__INDEX__/user/set.html">{/if}
        <i class="layui-icon">&#xe620;</i>
        基本设置
      </a>
    </li>
  </ul>
  
  <div class="site-tree-mobile layui-hide">
    <i class="layui-icon">&#xe602;</i>
  </div>
  <div class="site-mobile-shade"></div>
  
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <li class="layui-this">{if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/user/index.html">{else/}<a href="__INDEX__/user/index.html">{/if}我的帖子</a></li>
        <li>{if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/user/comment.html">{else/}<a href="__INDEX__/user/comment.html">{/if}我的评论</a></li>
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
        <div class="layui-tab-item layui-show">
          <ul class="mine-view jie-row">
            {volist name="ThreadList" id="vo"}
            <li>
              {if condition="config('web.WEB_URL') eq 1"}<a href="__ROOT__/trd/{$vo.id}.html" target="_blank" class="jie-title">{else/}<a href="__INDEX__/trd/{$vo.id}.html" target="_blank" class="jie-title">{/if}{$vo.title}</a>
              <i>{$vo.time|date="Y-m-d",###}</i>
              {if condition="config('web.WEB_URL') eq 1"}<a class="mine-edit" href="__ROOT__/edit/{$vo.id}.html">{else/}<a class="mine-edit" href="__INDEX__/edit/{$vo.id}.html">{/if}编辑</a>
              <em>{$vo.view}阅/{$vo.reply}答</em>
            </li>
            {/volist}
          </ul>
          <div style="text-align: center">
            <div class="laypage-main">
              {$ThreadList->render()}
            </div>
          </div>          
        </div>
      </div>
    </div>
  </div>
</div>
{include file="forum/footer"}
<script type="text/javascript">
layui.use(['element', 'form'], function(){
  var element = layui.element();

  element.on('nav(layui)', function(elem){
    console.log(elem)
  });
});
</script>
</body>
</html>